package com.yida.gwj.expend.service;

import com.yida.gwj.expend.domain.GwjMaintenanceFundsBusinessOwner;

import java.util.List;

/**
 * 业务业主信息Service接口
 *
 * @author lgp
 * @date 2023-02-20
 */
public interface IGwjMaintenanceFundsBusinessOwnerService {
    /**
     * 查询业务业主信息
     *
     * @param businessOwnerId 业务业主信息主键
     * @return 业务业主信息
     */
    GwjMaintenanceFundsBusinessOwner selectGwjMaintenanceFundsBusinessOwnerByBusinessOwnerId(Long businessOwnerId);

    /**
     * 查询业务业主信息列表
     *
     * @param gwjMaintenanceFundsBusinessOwner 业务业主信息
     * @return 业务业主信息集合
     */
    List<GwjMaintenanceFundsBusinessOwner> selectGwjMaintenanceFundsBusinessOwnerList(GwjMaintenanceFundsBusinessOwner gwjMaintenanceFundsBusinessOwner);

    /**
     * 新增业务业主信息
     *
     * @param gwjMaintenanceFundsBusinessOwner 业务业主信息
     * @return 结果
     */
    int insertGwjMaintenanceFundsBusinessOwner(GwjMaintenanceFundsBusinessOwner gwjMaintenanceFundsBusinessOwner);

    /**
     * 修改业务业主信息
     *
     * @param gwjMaintenanceFundsBusinessOwner 业务业主信息
     * @return 结果
     */
    int updateGwjMaintenanceFundsBusinessOwner(GwjMaintenanceFundsBusinessOwner gwjMaintenanceFundsBusinessOwner);

    /**
     * 删除业务业主信息信息
     *
     * @param businessOwnerId 业务业主信息主键
     * @return 结果
     */
    int deleteGwjMaintenanceFundsBusinessOwnerByBusinessOwnerId(Long businessOwnerId);

    /**
     * 删除业务业主信息信息-通过业务ID
     *
     * @param businessId 业务业主信息主键
     * @return 结果
     */
    int deleteGwjMaintenanceFundsBusinessOwnerByBusinessId(Long businessId);

    /**
     * 查询业务业主信息-通过业务ID
     *
     * @param businessId 业务业主信息主键
     * @return 业务业主信息
     */
    GwjMaintenanceFundsBusinessOwner selectGwjMaintenanceFundsBusinessOwnerByBusinessId(Long businessId);

    /**
     * 批量新增业务业主信息
     *
     * @param maintenanceFundsBusinessOwnerList 业务业主信息
     * @return 结果
     */
    int insertBatchGwjMaintenanceFundsBusinessOwner(List<GwjMaintenanceFundsBusinessOwner> maintenanceFundsBusinessOwnerList);


}
